Why do I failed to perform the software trigger command when calling SDK?

Why do I failed to perform the software trigger command when calling SDK?

Cause

The trigger source is not set to software trigger.

Solution

Before performing software trigger command, make sure the camera is in software trigger mode and the trigger source is set to software trigger.